import { Scene } from 'phaser'
export class LoadingScene extends Scene {
    constructor() {
        super('loading-scene')
    }
    init(data) { }
    preload() {
        this.load.baseURL = 'assets/'
        this.load.image('king', 'sprites/king.png')
    }
    create(data) {
        this.add.sprite(100, 100, 'king');


        this.scene.start("game-scene");
    }
    update(time, delta) { }
}